package com.lzm.ydpt.mvp.contract;

import com.byt.framlib.basemvp.BaseView;
import com.byt.framlib.basemvp.basebean.BaseResponseBean;
import com.byt.framlib.basemvp.boby.FormBodys;
import com.lzm.ydpt.entity.payresult.PayBean;

import io.reactivex.Observable;

/**
 * 接口名称：PayOrderContract
 * 接口描述：Contract
 */
public interface PayOrderContract {

    /**
     * 模型接口
     */
    interface Model {
        Observable<BaseResponseBean<PayBean>> onPayOrder(FormBodys formBodys);
    }

    /**
     * 代理接口
     */
    interface Presenter {
        void onPayOrder(FormBodys formBodys);
    }

    /**
     * 视图接口
     */
    interface View extends BaseView {
        void onPayOrder(PayBean payBean);
    }
}